CC = gcc
CFLAGS += -Wall -masm=intel -lpthread
DEFINE += -D _GNU_SOURCE
BIN = nanobenchSuit

all:
	$(CC) $(CFLAGS) $(DEFINE) *.c -o $(BIN)
	as measure.s -o measure.o
	objcopy measure.o -j ._measure -O binary _measure.bin


clean:
	rm -rf *.bin *.o $(BIN)

peek:
	objdump -b binary -m i386 -M x86-64 -D debug